<?xml version='1.0'?>

<gl_extension name="WGL_AMD_gpu_association" reg_no="361">
	<tokens>
		<token name="WGL_GPU_VENDOR_AMD" value="0x1F00"/>
		<token name="WGL_GPU_RENDERER_STRING_AMD" value="0x1F01"/>
		<token name="WGL_GPU_OPENGL_VERSION_STRING_AMD" value="0x1F02"/>
		<token name="WGL_GPU_FASTEST_TARGET_GPUS_AMD" value="0x21A2"/>
		<token name="WGL_GPU_RAM_AMD" value="0x21A3"/>
		<token name="WGL_GPU_CLOCK_AMD" value="0x21A4"/>
		<token name="WGL_GPU_NUM_PIPES_AMD" value="0x21A5"/>
		<token name="WGL_GPU_NUM_SIMD_AMD" value="0x21A6"/>
		<token name="WGL_GPU_NUM_RB_AMD" value="0x21A7"/>
		<token name="WGL_GPU_NUM_SPI_AMD" value="0x21A8"/>
	</tokens>

	<functions>
		<function name="wglGetGPUIDsAMD" return="UINT">
			<params>
				<param type="UINT" name="maxCount"/>
				<param type="UINT*" name="ids"/>
			</params>
		</function>
		<function name="wglGetGPUInfoAMD" return="INT">
			<params>
				<param type="UINT" name="id"/>
				<param type="int" name="property"/>
				<param type="GLenum" name="dataType"/>
				<param type="UINT" name="size"/>
				<param type="void*" name="data"/>
			</params>
		</function>
		<function name="wglGetContextGPUIDAMD" return="UINT">
			<params>
				<param type="HGLRC" name="hglrc"/>
			</params>
		</function>
		<function name="wglCreateAssociatedContextAMD" return="HGLRC">
			<params>
				<param type="UINT" name="id"/>
			</params>
		</function>
		<function name="wglCreateAssociatedContextAttribsAMD" return="HGLRC">
			<params>
				<param type="UINT" name="id"/>
				<param type="HGLRC" name="hShareContext"/>
				<param type="const int*" name="attribList"/>
			</params>
		</function>
		<function name="wglDeleteAssociatedContextAMD" return="BOOL">
			<params>
				<param type="HGLRC" name="hglrc"/>
			</params>
		</function>
		<function name="wglMakeAssociatedContextCurrentAMD" return="BOOL">
			<params>
				<param type="HGLRC" name="hglrc"/>
			</params>
		</function>
		<function name="wglGetCurrentAssociatedContextAMD" return="HGLRC"/>
		<function name="wglBlitContextFramebufferAMD" return="VOID">
			<params>
				<param type="HGLRC" name="dstCtx"/>
				<param type="GLint" name="srcX0"/>
				<param type="GLint" name="srcY0"/>
				<param type="GLint" name="srcX1"/>
				<param type="GLint" name="srcY1"/>
				<param type="GLint" name="dstX0"/>
				<param type="GLint" name="dstY0"/>
				<param type="GLint" name="dstX1"/>
				<param type="GLint" name="dstY1"/>
				<param type="GLbitfield" name="mask"/>
				<param type="GLenum" name="filter"/>
			</params>
		</function>
	</functions>
</gl_extension>
